package com.zhouqinuan.spring.cloud.develop.framework.demo.provider.feign.fallback;

import javax.validation.Valid;

import org.springframework.stereotype.Component;

import com.zhouqinuan.spring.cloud.develop.framework.demo.provider.feign.UserFeign;
import com.zhouqinuan.spring.cloud.develop.framework.demo.provider.feign.vo.req.GetUserInfoByIdReq;
import com.zhouqinuan.spring.cloud.develop.framework.demo.provider.feign.vo.resp.GetUserInfoByIdResp;

@Component
public class UserFeignFallBack implements UserFeign {

    @Override
    public GetUserInfoByIdResp getUserInfoById(@Valid GetUserInfoByIdReq reqVO) {
        return new GetUserInfoByIdResp();
    }

}
